package imPro;

import java.awt.Container;
import java.awt.Dimension;
import javax.swing.JFrame;

/**
 *
 * @author Ragnar
 */
public class Frame
{
    public static void main(String[] args)
    {
        Common src = new Common();
        CamCapture cc = new CamCapture(src);
        //ImageThreshold it = new ImageThreshold(src);
        ImPanel ip = new ImPanel();
        //ImageLabel il = new ImageLabel(ip, src);
        ProcessImage pi = new ProcessImage(ip, src);
     //   UpdateImPanel uip = new UpdateImPanel(ip, src);
        JFrame f = new JFrame();
        f.setLayout(null);
        Container c = f.getContentPane();
        ip.setBounds(0, 0, 400, 300);
        c.add(ip);
        f.setMinimumSize(new Dimension(800, 600));
        f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        f.setLocationRelativeTo(null);
        f.setVisible(true);        
    }
}
